﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using BussinessLogicTecnoPez.Produccion.Enfermedades_y_control_de_estanques;
using BussinessLogicTecnoPez.Produccion;
using BussinessLogicTecnoPez;
using Tecnopez.Globals;

public partial class Modules_EnfermedadesControlEstanque_AlertadorPop : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Alerta alert = (Alerta) Session["alertault"];
        this.lblMessage.Text = "Hay nuevas alertas generadas por sensores";
        this.lblEstanque.Text = alert.Estanque.ToString();
        this.lblDescripcion.Text = alert.Descripcion.ToString();
        
        this.linkVerAlertas.Text = "Ver alertas";
        this.linkVerAlertas.OnClientClick = "window.open('ConsultaAlarmas.aspx', 'Consulta Alertas', 'modal=yes'); return false;";
    }
}
